package com.ais.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ais.dao.DeptmentDao;
import com.ais.vo.Deptment;

@Service("deptmentManage")
public class DeptmentManage {
	@Autowired
	private DeptmentDao deptmentDao;

	public void setDeptmentDao(DeptmentDao deptmentDao) {
		this.deptmentDao = deptmentDao;
	}

	public List<Deptment> getDeptmentList() {
		return deptmentDao.getDeptmentList();
	}
	
	
}
